<?php

/**
 * Narudzbina form.
 *
 * @package    marketing
 * @subpackage form
 * @author     Your name here
 */
class NarudzbinaFilterForm extends BaseNarudzbinaForm {

    public function configure() {
	
        $this->setWidgets(array(
                        'od' => new sfWidgetFormJQueryDate(),
                        'do' => new sfWidgetFormJQueryDate(),
                        'status' =>new sfWidgetFormPropelChoice(array("model"=>"Status", 'add_empty'=>"-Izaberi-"), array())

        ));
        
        
   
        $formatter = $this->widgetSchema->getFormFormatter();
        $formatter->setRowFormat("<td>%label%%help%\n\n%field%\n%error%\n%hidden_fields%\n</td>");
        $this->getWidgetSchema()->setNameFormat("narudzbina[%s]");
    }

}
